继承自 FoxitPDFSDKPython3._object .
|
| def | GraphState (line_width, line_join, miter_limit, line_cap, dash_phase, dashes) |
| | 带参数的构造函数。 更多...
|
| |
|
def | GraphState () |
| | 构造函数。
|
| |
| def | GraphState (state) |
| | 使用另一个图形状态对象的构造函数。 更多...
|
| |
| def | Set (line_width, line_join, miter_limit, line_cap, dash_phase, dashes) |
| | 设置值。 更多...
|
| |
◆ GraphState() [1/2]
| def FoxitPDFSDKPython3.GraphState.GraphState |
( |
|
line_width, |
|
|
|
line_join, |
|
|
|
miter_limit, |
|
|
|
line_cap, |
|
|
|
dash_phase, |
|
|
|
dashes |
|
) |
| |
◆ GraphState() [2/2]
| def FoxitPDFSDKPython3.GraphState.GraphState |
( |
|
state | ) |
|
◆ Set()
| def FoxitPDFSDKPython3.GraphState.Set |
( |
|
line_width, |
|
|
|
line_join, |
|
|
|
miter_limit, |
|
|
|
line_cap, |
|
|
|
dash_phase, |
|
|
|
dashes |
|
) |
| |
◆ e_LineJoinBevel
| FoxitPDFSDKPython3.GraphState.e_LineJoinBevel = _fsdk.GraphState_e_LineJoinBevel |
|
static |
斜角线条连接类型。
两段使用平头端盖完成,并且段末端之外的结果凹口 用三角形填充。
◆ e_LineJoinMiter
| FoxitPDFSDKPython3.GraphState.e_LineJoinMiter = _fsdk.GraphState_e_LineJoinMiter |
|
static |
斜接线条连接类型。
两段描边的外边缘延伸直到它们以一定角度相交。
◆ e_LineJoinRound
| FoxitPDFSDKPython3.GraphState.e_LineJoinRound = _fsdk.GraphState_e_LineJoinRound |
|
static |
圆角线条连接类型。
在两段相交的点周围绘制一个直径等于线宽的圆弧, 连接两段描边的外边缘。
◆ line_cap
| FoxitPDFSDKPython3.GraphState.line_cap = _fsdk.GraphState_line_cap |
|
static |
◆ line_join
| FoxitPDFSDKPython3.GraphState.line_join = _fsdk.GraphState_line_join |
|
static |
◆ line_width
| FoxitPDFSDKPython3.GraphState.line_width = _fsdk.GraphState_line_width |
|
static |
线宽。
它应该是中的非负数。 如果设置为0,将默认视为1。
◆ miter_limit
| FoxitPDFSDKPython3.GraphState.miter_limit = _fsdk.GraphState_miter_limit |
|
static |
线连接的斜角限制。
当两条线段以尖锐角度相交并指定了斜角连接 作为线连接样式时,斜角可能会延伸到远超过 描边路径的线宽。斜角限制对斜角长度与线宽的比率 设置了最大值。当超过限制时,连接从斜角转换为斜面。
有关更多详细信息,请参考<PDF参考1.7>第217页"Miter Limit"。